<template>
  <div class="foo">
    这是foo页面.vue
   <img src="../assets/02.png">
  </div>
</template>

<script>
export default {
  name: 'Foo',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
  ,mounted(){
      console.log(this.$route.query.id);
      console.log(this.$route.query.name);
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
